// Lenght.h : main header file for the Application
//
#pragma once

// CLenght:
// See Legnt.cpp for the implementation of this class
//
#include "XMLFoundation.h"

class CLenght : public XMLObject
{
public:
	CLenght();
	~CLenght();

private:
	bool m_checkMin;
	int m_minValue;
	bool m_checkMax;
	int m_maxValue;

public:
	bool GetCheckMin() const;
	void SetCheckMin( bool nCheckMin );
    int GetMinValue() const;
	void SetMinValue( int nMinValue );
	bool GetCheckMax() const;
	void SetCheckMax( bool nCheckMax );
    int GetMaxValue() const;
	void SetMaxValue( int nMaxValue );

public:
	virtual void MapXMLTagsToMembers();
	DECLARE_FACTORY(CLenght , Lenght )
};